home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXmmmmTTTTeeeexxxxttttRRRReeeeppppllllaaaacccceeeeWWWWccccssss((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmTTTTeeeexxxxttttRRRReeeeppppllllaaaacccceeeeWWWWccccssss((((3333XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- _X_m_T_e_x_t_R_e_p_l_a_c_e_W_c_s - A Text function that replaces part of a
- wide character string in a Text widget
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- #include <Xm/Text.h>
-
- void XmTextReplaceWcs (wwwwiiiiddddggggeeeetttt,,,, ffffrrrroooommmm____ppppoooossss,,,, ttttoooo____ppppoooossss,,,, wwwwccccssssttttrrrriiiinnnngggg)
- _W_i_d_g_e_t wwwwiiiiddddggggeeeetttt;
- _X_m_T_e_x_t_P_o_s_i_t_i_o_nffffrrrroooommmm____ppppoooossss;
- _X_m_T_e_x_t_P_o_s_i_t_i_o_nttttoooo____ppppoooossss;
- _w_c_h_a_r__t *wwwwccccssssttttrrrriiiinnnngggg;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _X_m_T_e_x_t_R_e_p_l_a_c_e_W_c_s replaces part of the wide character string
- in the Text widget. The character positions begin at zero
- and are numbered sequentially from the beginning of the
- text.
-
- An example text replacement would be to replace the second
- and third characters in the text string. To accomplish
- this, the ffffrrrroooommmm____ppppoooossss parameter must be 1 and the ttttoooo____ppppoooossss
- parameter must be 3. To insert a string after the fourth
- character, both the ffffrrrroooommmm____ppppoooossss and ttttoooo____ppppoooossss parameters must be
- 4.
-
- This routine calls the widget's _X_m_N_v_a_l_u_e_C_h_a_n_g_e_d_C_a_l_l_b_a_c_k and
- verification callbacks, either _X_m_N_m_o_d_i_f_y_V_e_r_i_f_y_C_a_l_l_b_a_c_k or
- _X_m_N_m_o_d_i_f_y_V_e_r_i_f_y_C_a_l_l_b_a_c_k_W_c_s, or both. If both verification
- callback lists are registered, the procedures of the
- _X_m_N_m_o_d_i_f_y_V_e_r_i_f_y_C_a_l_l_b_a_c_k list are executed first and the
- resulting data is passed to the _X_m_N_m_o_d_i_f_y_V_e_r_i_f_y_C_a_l_l_b_a_c_k_W_c_s
- callbacks.
-
- wwwwiiiiddddggggeeeetttt
- Specifies the Text widget ID
-
- ffffrrrroooommmm____ppppoooossss
- Specifies the start position of the text to be replaced
-
- ttttoooo____ppppoooossss
- Specifies the end position of the text to be replaced
-
- wwwwccccssssttttrrrriiiinnnngggg
- Specifies the wide character string value to be added
- to the Text widget
-
- For a complete definition of Text and its associated
- resources, see _X_m_T_e_x_t(_3_X).
-
- RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
- _X_m_T_e_x_t(_3_X) and _X_m_T_e_x_t_R_e_p_l_a_c_e(_3_X).
-
-
-
- Page 1 (printed 11/11/03)
-
-
-
-